package zoo;

public class Feeder {
	private String name;
	public Feeder() {}
	public Feeder(String name) {
		this.name = name;
	}
	public void feedAnimal(Animal[] a){
		for(Animal x:a){
			x.eat();
		}
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
